import { make_tester } from "./ChangeTester";
import { IRawSession } from "./IRawSession";



export const is_raw_session_item_changed = make_tester<IRawSession>({
  nOrder: (a, b) => a.nOrder != b.nOrder,
  userName: (a, b) => a.userName != b.userName,
  nickName: (a, b) => a.nickName != b.nickName,
  content: (a, b) => a.content != b.content,
  nTime: (a, b) => a.nTime != b.nTime,
  account: (a, b) => a.account != b.account,
  src: () => false,
  senderName: (a, b) => a.senderName != b.senderName,
});
